package com.spring.dao;

import com.spring.model.Student;

import java.util.List;
import java.util.Map;

/**
 * Created by hbl on 2017/10/28.
 */
public interface StuDao {
    void add( Student student);

    void update(Student student);

    void delete(int id);

    Student load(int id);

    List<Map<String, Object>> list();
}
